﻿/**
 * see: 配置信息
 * 		配置地图服务
 * Author ： xsd
 */

var ioc = {
		map:{
//			initExt:{
//					xmax: 20589343.074530676,
//					xmin: 4152324.5120907407,
//					ymax: 7929760.617329163,
//					ymin: -367020.18085480365,
//					"spatialReference":
//					{"wkid":102100}
//
//			},
//			initExt:{
//                "xmin":13472237.73,
//                "ymin":4489659.398,
//                "xmax":13541948.3,
//                "ymax":4532241.141,
//                "spatialReference":
//                {"wkid":102100}
//            },
			initExt:{
//				"xmin":-13983695.702599531,
//				"ymax":10664494.186344888,
//				"xmax":24388915.489001267,
//				"ymin":7651040.783231021,
//	            "spatialReference":
//	            {"wkid":102100}
                "xmin": -217300.27455725128,
                "ymin": -58662.52974372344,
                "xmax": 283556.9771572524,
                "ymax": 193472.5944157925,
                "spatialReference":
                {"wkid":2435}
			},
//			-13983695.702599531-10664494.186344888
//			24388915.489001267--7651040.783231021
//			7743988.209625729-6486751.968391413
//			16735428.72086519-2240522.1730944305
//            initExt:{
//	            "xmin":6971056.979606233,
//	            "xmax":16363639.015286192,
//	            "ymin":1932328.0750486827,
//	            "ymax":7152059.8625854105,
//	            "spatialReference":
//	            {"wkid":102100}
//            },
			fullExt:{
//				xmax: 20589343.074530676,
//				xmin: 4152324.5120907407,
//				ymax: 7929760.617329163,
//				ymin: -367020.18085480365
//				
				xmin: -217300.27455725125,
				ymin: -175242.25875071128,
				xmax: 283556.9771572524,
				ymax: 180358.4524507112,

			},
			
			basemap: "http://10.1.10.230:6080/arcgis/rest/services/QPdata/DTnew0715/MapServer",
			//basemap: "http://map.geoq.cn/arcgis/rest/services/ChinaOnlineCommunity/MapServer",
			//basemap:"http://poc-pc:6080/arcgis/rest/services/SDDC/GDMapService/MapServer",
            basemap1:"http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer",
		    graphicLayers:["vehicleLayer","personLayer","orderLayer","CTPLayer","other","personStramLayer","neworderLayer"],

		    TCPUrl:"http://localhost:6080/arcgis/rest/services/Store/MapServer/0",
		    //TCPUrl:"http://10.8.1.45:6080/arcgis/rest/services/Shinho/ctp/MapServer/0",
		    provinceFeatureLayer:"http://10.8.1.45:6080/arcgis/rest/services/Shinho/district/MapServer/3",
		    cityFeatureLayer:"http://10.8.1.45:6080/arcgis/rest/services/Shinho/district/MapServer/2",
		    districtFeatureLayer:"http://10.8.1.45:6080/arcgis/rest/services/Shinho/district/MapServer/1",
		    townFeatureLayer:"http://10.8.1.45:6080/arcgis/rest/services/Shinho/district/MapServer/0",
		    //Tiled_townLayer:"http://localhost:6080/arcgis/rest/services/tiled_townborder/MapServer",
		    //Dynamic_townLayer:"http://localhost:6080/arcgis/rest/services/Dynamic_townborder/MapServer",
		    Tiled_townLayer:"http://localhost:6080/arcgis/rest/services/tiled_townborder/MapServer",
		    Dynamic_townLayer:"http://localhost:6080/arcgis/rest/services/Dynamic_townborder/MapServer",
		    //streamService:"http://10.8.8.151:6080/arcgis/rest/services/PersonStreamService/StreamServer",
		    streamService:"http://192.168.0.144:6080/arcgis/rest/services/PersonStreamService/StreamServer",
		    //shinhoWS:"ws://10.8.8.151:6180/ShinhoWS",
		    shinhoWS:"ws://192.168.0.144:6180/ShinhoWS",
			orderWS:"ws://10.8.8.151:6180/orderWS ",
		    vehicleType:{
		    	"办公车":"car",
		    	"货车":"truck",
		    	"厨演车":"kitchen"
		    },
		    vehicleStatus:{
		    	"运行":"run",
		    	"停车":"stop",
		    	"报警":"warn"
		    },
		    peopleStatus:{
		    	"正常":"run",
		    	"停滞":"stop",
		    	"未使用":"warn",
		    	"请假":"warn",
		    	"other":"warn"
		    },
		    peopleGrade:{
		    	"优秀":"A",
		    	"合格":"B",
		    	"不合格":"C"
		    }
		},
		sddc:{
			landFeatureLayer:"http://10.1.10.230:6080/arcgis/rest/services/SDDC/SDDCService/FeatureServer/0",
			resourceLayer:"http://10.1.10.230:6080/arcgis/rest/services/SDDC/SDDCService/FeatureServer/"
		},
        bigDataRadiusAndLevel:{
        	"4":16000,
        	"5":16000,
        	"6":8000,
        	"7":8000,
        	"8":4000,
        	"9":4000,
        	"10":2000,
        	"11":2000,
        	"12":1000,
        	"13":1000,
        	"14":500,
        	"15":500,
        	"16":250,
        	"18":250,
        	"17":250
        }
};